<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		console.log(history);
	</script>
</head>
<body>
	<p onclick="history.back()">后退</p> 
	<p onclick="history.forward()">前进</p>
	<p onclick="history.go(-3)">go</p>
</body>
</html>